﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Taurus.Platform.DTO;

namespace Taurus.Master.DTO
{
    class PKer:UserAccount
    {
        public PKer()
        {
            PKers = new List<PKer>();
            Kongfus = new List<Kongfu>();
            ApprenticeUID = new List<string>();
            TeachersUID = new List<string>();
        }
        public PKer(UserAccount ua)
            : this()
        {
            this.Email = ua.Email;
            this.Friends = ua.Friends;
            this.Groups = ua.Groups;
            this.IsPublic = ua.IsPublic;
            this.Name = ua.Name;
            this.Password = ua.Password;
            this.PicFullName = ua.PicFullName;
            this.Signature = ua.Signature;
            this.SmallAccount = ua.SmallAccount;
            this.UID = ua.UID;
        }
        /// <summary>
        /// 信息还有多少升级
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 师傅
        /// </summary>
        public List<string> TeachersUID { get; set; }
        /// <summary>
        /// 徒弟
        /// </summary>
        public List<string> ApprenticeUID { get; set; }
        /// <summary>
        /// 功夫
        /// </summary>
        public List<Kongfu> Kongfus { get; set; }
        /// <summary>
        /// 等级
        /// </summary>
        public string Level { get; set; }
        /// <summary>
        /// 胜率
        /// </summary>
        public string Winning { get; set; }
        /// <summary>
        /// 添加了该组件的好友
        /// </summary>
        public List<PKer> PKers { get; set; }
    }
}
